Automattic\Jetpack\Masterbar\Base_Admin_Menu B

Total Complexity 98
Dependencies 3
Dependents 1
Total lines 743
Lines of code 385
Logical lines of code 196
Comment lines 262
Methods 29
Properties 3

Methods 29

Method Rating Maintainability Complexity Lines of code
update_menu()
A
45 14 41
override_svg_icons()
A
44 10 45
update_submenus()
A
48 7 34
hide_parent_of_hidden_submenus()
A
56 8 17
handle_preferred_view()
S
53 6 22
sort_hidden_submenus()
S
59 5 15
__construct()
S
56 5 15
get_current_screen()
S
59 5 14
get_preferred_view()
S
62 5 11
hide_submenu_page()
S
60 4 14
get_submenu_item_count()
S
68 4 7
add_dashboard_switcher()
S
53 2 26
set_menu_item()
S
61 3 11
dashboard_switcher_scripts()
S
60 1 23
enqueue_scripts()
S
56 1 21
hide_submenu_element()
S
71 2 5
get_instance()
S
69 2 7
is_item_visible()
S
77 2 3
get_preferred_views()
S
70 2 7
use_wp_admin_interface()
S
79 1 3
should_link_to_wp_admin()
S
80 1 3
admin_body_class()
S
80 1 3
add_admin_menu_separator()
S
65 1 10
set_site_icon_inline_styles()
S
72 1 9
set_preferred_view()
S
69 1 6
configure_colors_for_rtl_stylesheets()
S
79 1 3
is_rtl()
S
81 1 3
has_visible_items()
S
69 1 7
reregister_menu_items()
S
100 1 0